Developer --> Technical Publications
PATH Hardware Documentation > Device Managers and Drivers > ATA Devices > ATA Device Software Guide


Status Routine

The status routine returns status information about the ATA disk driver. The type of information returned is specified in the csCode field and the information itself is pointed to by the csParamPtr field.

The status functions supported by the ATA disk driver are shown in Table 2-1.

Table 2-1   Status functions supported by the ATA disk driver

Value of
csCode

Definition

8 Return drive status information
43 Return driver Gestalt information
44 Return boot partition
45 Return partition mounting status
46 Return partition write protect status
70 Power mode status information


RESULT CODES

noErr

0 Successful completion, no error occurred

statusErr

-18 Unimplemented status function; could not complete requested operation

nsDrvErr

-56 No such drive installed

© 1999 Apple Computer, Inc. — (Last Updated 30 Oct 97)

Previous | Back Up One Level | Next | Show Frames | Hide Frames